package com.example.demo.ldap;

/**
 * @EnumName ProjectFor5ApiEnum
 * @Author b21399
 * @Date 2020/9/9 10:28
 * @Description ProjectUrl枚举类
 * @Version 1.0
 **/
public enum LdapFor5ApiEnum {
    /**
     * 为ldap添加组织
     */
    PROJECT_LDAP_USER("/projects/{projectId}/users/{userId}/roles/{roleId}"),
    /**
     * 同步ldap用户
     */
    LDAP_USERS_ADD_OS("/ldap/users/{ldapId}"),
    /**
     * 获取ldap
     */
    LDAP_DETAIL("/domains");

    private String value;

    LdapFor5ApiEnum(String value) {
        this.value = value;
    }

    @Override
    public String toString() {
        return value;
    }
}
